from django.urls import path
from .views import DeparmentAPIView,DutyAPIView,StaffAPIView,StaffDetailAPIView,DeparmentDetailAPIView,DutyDetialAPIView
urlpatterns = [
    path('department/',DeparmentAPIView.as_view()),
    path('department/<str:pk>/',DeparmentDetailAPIView.as_view()),
    path('duty/',DutyAPIView.as_view()),
    path('duty/<str:pk>/',DutyDetialAPIView.as_view()),
    path('staff/',StaffAPIView.as_view()),
    path('staff/<int:id>',StaffDetailAPIView.as_view())
]
